package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.Dish;
import com.itheima.dto.DishDto;

import java.util.List;

public interface DishService extends IService<Dish> {

    public DishDto fillDish(DishDto dish);

    public DishDto getdishDto(String id);

    public boolean update(DishDto dishDto);

    public boolean delete(String ids);

    public boolean updateState(String ids);

    public List<DishDto> selectPage(Integer page , Integer pageSize, String name);

//    public long getCountByName(String name);
}
